package com.zzq.order.rpc.provider;

import com.zzq.common.rpc.OrderRpcService;
import com.zzq.order.service.impl.OrderServiceImpl;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;

import java.math.BigDecimal;

@DubboService(version = "1.0.0", delay = -1, retries = 0)
@RequiredArgsConstructor
@Slf4j
public class OrderRpcServiceImpl implements OrderRpcService {

private final OrderServiceImpl orderService;

    @Override
    public Boolean addOrder(String goodsId, Long count, BigDecimal amount) {
        return null;
    }

}
